package com.viser.partyinrs.entities;

import java.io.Serializable;

public class Grad implements Serializable, Comparable<Grad>{
	private static final long serialVersionUID = 1000003L;
	
	public int idGrad = 0;
	public String naziv = "";
	public String drzava = "";
	
	public Grad()
	{
		super();
	}
	
	public Grad(int idGrad, String naziv, String drzava) {
		super();
		this.idGrad = idGrad;
		this.naziv = naziv;
		this.drzava = drzava;
	}

	@Override
	public int compareTo(Grad drugi) {
		return this.naziv.compareTo(drugi.naziv);
	}
}
